package com.cloudfun.campusshare.service.handler;

import com.cloudfun.campusshare.common.constant.WorkerOrderTaskType;
import com.cloudfun.campusshare.common.model.vo.WorkerOrderBaseVO;
import com.cloudfun.campusshare.entity.WorkerOrderEntity;

/**
 * @author : zhangyongjie
 * @version : 1.0
 * @createTime : 2020/5/11 19:49
 * @description :
 */
public interface WorkerOrderHandler<T extends WorkerOrderBaseVO> {
    T handle(WorkerOrderEntity workerOrderEntity);

    WorkerOrderTaskType supportType();
}
